public static PDFTextLineCollection wrapString( java.lang.String s, PDFFont font, double width, boolean forceLongWordsWrap ) |
Parameters
- s
- String to wrap.
- font
- Font used to draw the text.
- width
- Maximum width for wrapping.
- forceLongWordsWrap
- True if long words are wrapped at character level if they do not fit entirely on a single line.
Return Value
A collection of text lines representing the wrapped text.